//
//  StrategyInspectResult.h
//  StrategySimulator
//
//  Created by jiro on 12/07/05.
//  Copyright 2012 jiro music. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "StrategyPerfomance.h"
#include <vector>

class StrategyRawPerfomance
{
public:

	void addResult( const StrategyRawPerfomance& r );

	void addInvestMoney( double investMoney, double profit, double interval );

	StrategyPerfomance getStrategyPerfomance() const;

	int getParameterIndex() const;
	
	int getTradeCount() const;
	
	int getWinCount() const;

	double getWinRate() const;

	double getInterestRate() const;

	double getProfitPerTrade() const;
	
	double getDayIntervalPerTrade() const;

	NSString* toString() const;

private:

	int parameterIndex;

	std::vector< double > investMoneies;

	std::vector< double > profits;

	std::vector< double > tradeTimeIntervals;

};
